<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>大额变动情况查询</title>
		<script type="text/javascript" src="/cms/template/js/plugins/jquery-1.8.3.min.js"></script>
		<style media="all" type="text/css">
			body {background:url()}
		</style>
		<script type="text/javascript">
			$(document).ready(function() {
				$('td[x] > a').bind('click',function(e){
					var el=$(this);
					//e.preventDefault();
			        $.get(el.attr('data-load'),function(d){
			            el.unbind('click').popover({content: d,trigger:'focus', placement:function(){
			            	var pos = "left";
			            	if (el.position().top -50< $('body').height()){
			            		pos = "bottom";
			            	} else {
			            		pos = "top";
			            	}
			            	if (el.position().left + 250 > $('body').width()){
				            	pos = "left";
				            }
			            	return pos;
			            }}).popover('show');
			        });
				});
			});
		</script>
	</head>
	<body>
		<div id="wrapper">
		111
			<img src="" />
			222
		</div>
	</body>
</html>